export default [
    {
        path: '/main/home',
        name: 'home',
        meta:{
            title:'首页',
            keepAlive:true
        },
        component: () => import(/* webpackChunkName: "home" */ '../views/main/home')
    },
    {
        path: '/main/classify',
        name: 'classify',
        meta:{
            title:'分类',
            keepAlive:true
        },
        component: () => import(/* webpackChunkName: "classify" */ '../views/main/classify')
    },
    {
        path: '/main/shopcar',
        name: 'shopcar',
        meta:{
            title:'购物车',
            isAuthority:true,
            keepAlive:true
        },
        component: () => import(/* webpackChunkName: "shopcar" */ '../views/main/shopcar')
    },
    {
        path: '/main/my',
        name: 'my',
        meta:{
            title:'我的',
            isAuthority:true,
            keepAlive:true
        },
        component: () => import(/* webpackChunkName: "my" */ '../views/main/my')
    },
    {
        path:'/main',
        meta:{
            title:'校园超市',
            keepAlive:true
        },
        redirect:'/main/home'
    }
]